package com.xb.cloud.user.service.client;

import com.xb.cloud.service.client.ServiceReturnInfo;
import com.xb.cloud.user.service.client.bo.SmsSendLogBo;

public interface SmsSendLogService {

	/**
	 * 创建新的短信发送记录
	 * 
	 * @Title createSmsSendLog
	 * @param record
	 * @return
	 */
	ServiceReturnInfo createSmsSendLog(SmsSendLogBo record);

	/**
	 * 查询当天发送了多少次
	 * 
	 * @Title countByPhoneNumWithDay
	 * @param companyId
	 * @param phoneNum
	 * @return
	 */
	ServiceReturnInfo countByPhoneNumWithDay(long companyId, String phoneNum);
}
